#pragma once
#ifndef STONEWT_H_
#include<iostream>
#define STONEWT_H_

class Stonewt
{
public:
	enum Mode
	{
		STN,
		LBS
	};
public:
	Stonewt(double lbs);
	Stonewt(int stn, double lbs);
	Stonewt();
	~Stonewt();
	void show_lbs();
	void show_stn();
	Stonewt operator+(const Stonewt& b) const;
	friend Stonewt operator+(double m, const Stonewt& b)
	{
		return b + m;
	}
	Stonewt operator-(const Stonewt& b) const;
	friend Stonewt operator-(double m, const Stonewt& b)
	{
		return b - m;
	}
	Stonewt operator*(double m) const;
	friend Stonewt operator*(double m, const Stonewt& b)
	{
		return b * m;
	}
	friend std::ostream&
		operator<<(std::ostream& os, const Stonewt& s);

private:
	enum { Lbs_per_stn = 14 };
	int stone;
	Mode mode;
	double pds_left;
	double pounds;
};

#endif // !STONEWT_H_
